package com.infovane.service;

import java.util.List;

public interface ArticleTypeService {
	
	
	/**
	 * 保存资讯分类����
	 * @param object
	 * @return boolean
	 * */
	
	public boolean add(Object object);
	
	/**
	 * 获取资讯分类
	 * @return List
	 * */
	public List get();
	
	/**
	 * 获取资讯分类对象
	 * @param modelClass, id
	 * @return Object
	 * */
	public Object get(Class modelClass,int id);
	
	/**
	 * 删除资讯分类
	 * @param modelClass, id
	 * @return boolean
	 * */
	public boolean delete(Class modelClass,int id);
	
	/**
	 * 更新资讯分类
	 * @param Object
	 * @return boolean
	 * */
	public boolean update(Object object);
}
